<?php
//use Illuminate\Support\Facades\Schema;
use Jialeo\LaravelSchemaExtend\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateShopCouplesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('shop_couples', function (Blueprint $table) {
			$table->comment = '意见反馈表';
			$table->increments('id')->comment('意见反馈ID');
			$table->integer('user_id')->nullable()->comment('总户表id');
            $table->string('title',100)->default('')->comment('标题');
			$table->string('content')->default('')->comment('内容');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('shop_couples');
    }
}
